@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F0FFF0;
    font-family: 'Poppins', sans-serif;
}

/* Navbar */




/* Product Section */
.product {
    padding-top: 15vh;
}

.prd-head {
    text-align: center;
    font-size: 2rem;
    color: #031a04;
    margin-bottom: 20px;
}

.prd-dis {
    text-align: center;
    font-size: 0.9rem;
    margin: 0 auto;
    width: 80%;
    margin-bottom: 40px;
}

.product-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    padding: 20px;
}

.product-box {
    width: 260px;
    background-color: #dbfde7;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-box:hover {
    transform: scale(1.05);
}

.product-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-box h3 {
    font-size: 1rem;
    margin: 15px 0;
    color: #333;
}

.product-box p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 15px;
}

.product-box button {
    padding: 8px 12px;
    font-size: 0.9rem;
    background-color: #1ed760;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-box button:hover {
    background-color: #11a847;
}

/* Customization Section */
.custom-section {
    background: #e4f3e0;
    padding: 50px;
    text-align: center;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 900px;
    width: 90%;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.custom-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.custom-section p {
    font-size: 1rem;
    margin-bottom: 25px;
}

.icon-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 130px;
    padding: 20px;
    background: #f0fff0;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.icon-box:hover {
    background: #4a8f31;
    color: #fff;
    transform: scale(1.05);
}

.icon-box i {
    font-size: 28px;
    color: #4a8f31;
}

.icon-box:hover i {
    color: #fff;
}

.custom-btn {
    background: linear-gradient(45deg, #4a8f31, #4a8f31);
    color: white;
    padding: 14px 30px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background: linear-gradient(45deg, #4a8f31, #4a8f31);
    transform: scale(1.05);
}


footer {
    background-color: #1A1A2E;
    color: #EAEAEA;
    padding: 40px 0;
    text-align: center;
    position: relative;
    top: 10vh;
  }
  
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer-logo {
    margin-bottom: 20px;
  }
  
  .footer-logo img {
    width: 30%;
  }
  
  .footer-content {
    text-align: center;
    margin-top: 0px;
  }
  
  .address {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #BBBBBB;
  }
  
  .footer-contact p {
    margin: 10px 0;
    font-size: 16px;
  }
  
  .contact-link {
    color: #4DA8DA;
    text-decoration: none;
    font-weight: 600;
  }
  
  .contact-link:hover {
    color: #FFD700;
  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
  }
  
  .footer-social a img {
    width: 35px;
    transition: transform 0.3s ease-in-out, opacity 0.3s;
  }
  
  .footer-social a img:hover {
    transform: scale(1.2);
    opacity: 0.8;
  }
  
  @media (max-width: 768px) {
    .footer-container {
        padding: 0 10px;
    }
    .footer-social {
        flex-wrap: wrap;
    }
  }
  /* footer end ................................................................................................... */
  
/* Media Queries */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links ul {
        display: none;
        flex-direction: column;
        background-color: #F0FFF0;
        position: absolute;
        top: 10vh;
        right: 0;
        width: 100%;
        text-align: center;
    }
    .nav-links.active ul {
        display: flex;
    }
    .product-box {
        width: 100%;
    }
    .custom-section {
        width: 95%;
        padding: 30px;
    }
    .icon-box {
        width: 100%;
        margin-bottom: 15px;
    }
}

.lg-frm {
    font-size: 0.6rem;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 60%; /* Position it just below the parent li */
    left: 80%; /* Center align under the parent */
    transform: translateX(-50%);
    background: white;
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown a {
    color: #2d5f2d;
    padding: 10px 15px;
    transition: 0.3s;
    text-align: center;
}



/* Show dropdown on hover */
li:hover .dropdown {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dropdown {
        position: static; /* Reset positioning for smaller screens */
        transform: none; /* Remove transform */
        width: 100%; /* Full width */
        box-shadow: none; /* Remove shadow for a cleaner look */
        border-radius: 0; /* Remove border radius */
        opacity: 1; /* Always visible */
        visibility: visible; /* Always visible */
        display: none; /* Hide by default */
    }

    li:hover .dropdown {
        display: flex; /* Show on hover */
        transform: none; /* Remove transform */
    }

    /* Adjust parent li for better mobile experience */
    li {
        position: relative;
    }

    /* Make dropdown links stack vertically */
    .dropdown a {
        text-align: left;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .dropdown {
        min-width: 100%; /* Full width on very small screens */
    }
}